package com.jic.member.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.member.entity.TripEventInfoEntity;

import java.util.List;

/**
* 分支节点事件触发记录表
* @author : 
* @email : 
* @since : 2020-06-08 11:03:19
* @version : v1.0.0
*/
public interface TripEventInfoService {

    long insert(TripEventInfoEntity tripEventInfoEntity);

    long delete(Long id);

    long update(TripEventInfoEntity tripEventInfoEntity);

    TripEventInfoEntity queryById(Long id);

    List<TripEventInfoEntity> findAll(TripEventInfoEntity tripEventInfoEntity);

    PageResult<TripEventInfoEntity> queryPage(TripEventInfoEntity tripEventInfoEntity, Page pageQuery);

    /**
     * 发送红包优惠券
     * @param
     * @return
     */
    Boolean sendCoupon(Long tripId, Long branchNodeId, List<String> thirdUserIdList);

}